<script lang="ts" setup name="JobSchedulerServiceIndex">
import { ref, onMounted, reactive } from "vue";
import OrgJobSchedulerList from "./component/org-job-scheduler-list.vue";
const OrgJobSchedulerListRef = ref<InstanceType<typeof OrgJobSchedulerList> | null>(null);

const OrgJobSchedulerIndexStatus = reactive({
  onAddButtonClick: () => {
    OrgJobSchedulerListRef.value.onAddButtonClick();
  },
  onDeleteButtonClick: () => {
    OrgJobSchedulerListRef.value.onDeleteButtonClick();
  }
});

onMounted(() => {
  OrgJobSchedulerListRef.value.getOrgJobSchedulerTableRef().loadTable();
});
</script>
<template>
  <div class="JobSchedulerServiceIndex">
    <org-job-scheduler-list ref="OrgJobSchedulerListRef"></org-job-scheduler-list>
  </div>
</template>
